Skip to content

Conversation

zunda-pixel
Copy link
Contributor

@zunda-pixel zunda-pixel commented Sep 15, 2025

I want to use secure challenge value.

let webAuthn = WebAuthnManager(
  configuration: .init(
    relyingPartyID: "RELYING_PARTY_ID",
    relyingPartyName: "RELYING_PARTY_NAME",
    relyingPartyOrigin: "RELYING_PARTY_ORIGIN"
  ),
  challengeGenerator: .init {
    Array(Data(AES.GCM.Nonce())) + Array(Data(AES.GCM.Nonce())) + Array(Data(AES.GCM.Nonce())) // 36 bytes
  }
)

@zunda-pixel zunda-pixel changed the title Custom ChallengeGenerator Support Custom ChallengeGenerator Sep 16, 2025
@zunda-pixel
Copy link
Contributor Author

zunda-pixel commented Sep 16, 2025

duplicate #90

Another solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant